<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>学生管理系统</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="Backstage/bower_components/bootstrap/dist/css/bootstrap.min.css">
  <link rel="stylesheet" href="Backstage/bower_components/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="Backstage/bower_components/Ionicons/css/ionicons.min.css">
  <link rel="stylesheet" href="Backstage/dist/css/AdminLTE.min.css">
  <link rel="stylesheet" href="Backstage/dist/css/skins/skin-blue.min.css">
  <!-- Google Font -->
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>

<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
  <header class="main-header">
    <a href="index2.html" class="logo">
      <span class="logo-mini"><b>学生</b>系统</span>
      <span class="logo-lg"><b>学生管理</b>系统</span>
    </a>

    <nav class="navbar navbar-static-top" role="navigation">
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">切换导航</span>
      </a>
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <li class="dropdown messages-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">8</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">你有八条未接消息</li>
              <li>
                <ul class="menu">
                  <li>
                    <a href="#">
                      <div class="pull-left">
                        <img src="Backstage/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                      </div>
                      <h4>
                       	MVC团队
                        <small><i class="fa fa-clock-o"></i>5人</small>
                      </h4>
                  </li>
                </ul>
              </li>
              <li class="footer"><a href="#">查看所有的消息</a></li>
            </ul>
          </li>

          <li class="dropdown notifications-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning">18</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">你有十条通知</li>
              <li>
                <ul class="menu">
                  <li>
                    <a href="#">
                      <i class="fa fa-users text-aqua"></i>今天有7个新成员加入
                    </a>
                  </li>
                </ul>
              </li>
              <li class="footer"><a href="#">查看所有</a></li>
            </ul>
          </li>
          <li class="dropdown tasks-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-flag-o"></i>
              <span class="label label-danger">17</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">你有17个任务</li>
              <li>
                <ul class="menu">
                  <li>
                    <a href="#">
                      <h3>
                        	任务进度
                        <small class="pull-right">20%</small>
                      </h3>
                      <div class="progress xs">
                        <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar"
                             aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                          <span class="sr-only">20%</span>
                        </div>
                      </div>
                    </a>
                  </li>
                </ul>
              </li>
              <li class="footer">
                <a href="#">查看所有任务</a>
              </li>
            </ul>
          </li>
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img src="Backstage/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <!-- hidden-xs hides the username on small devices so only the image appears. -->
              <span class="hidden-xs">liyinqi</span>
            </a>
            <ul class="dropdown-menu">
              <li class="user-header">
                <img src="Backstage/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                <p>
                  liyinqi
                  <small>北京大学</small>
                </p>
              </li>
              <li class="user-body">
                <div class="row">
                  <div class="col-xs-4 text-center">
                    <a href="#">追随者</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">销售</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">小伙伴</a>
                  </div>
                </div>
              </li>
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">简介</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">登出</a>
                </div>
              </li>
            </ul>
          </li>
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <aside class="main-sidebar">
    <section class="sidebar">
      <div class="user-panel">
        <div class="pull-left image">
          <img src="Backstage/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p>liyinqi</p>
          <a href="#"><i class="fa fa-circle text-success"></i>在线</a>
        </div>
      </div>
      <form action="#" method="get" class="sidebar-form">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="Search...">
          <span class="input-group-btn">
              <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
              </button>
            </span>
        </div>
      </form>
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header">菜单列表</li>
        <li class="treeview">
          <a href="#"><i class="fa fa-link"></i> <span>教师系统</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="ShowServlet">教师管理</a></li>
            <li><a href="add.jsp">添加教师</a></li>
          </ul>
        </li>
        
       
        <li class="treeview">
          <a href="#"><i class="fa fa-link"></i><span>管理菜单</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
          </a>
          <ul class="treeview-menu">
          	<li><a href="ShowSchool">大学管理</a></li>
            <li><a href="ShowClasses">班级管理</a></li>
          </ul>
        </li>
            
      </ul>
    </section>
  </aside>

  <div class="content-wrapper">
    <section class="content container-fluid">
    	<div class="container-fluid">
	    	<div class="row">
	    		<div class="col-md-6">
	    			 <table class="table">
				   		<caption><h1>已有大学</h1></caption>
				        <tr>
				            <td>编号</td>
				            <td>大学</td>
				        </tr>
				        <c:forEach items="${requestScope.lists}" var="items">
				            <tr>
				                <td>${items.id}</td>
				                <td>${items.schoolName}</td>		               
				                <td><a href="DeleteSchool?id=${items.id}">删除</a>
				                	|<a href="UpdateSchool?id=${items.id }">修改</a>
				                	|<a href="ShowServlet">进入大学</a>
				                </td>
				            </tr>
				        </c:forEach>
				    </table>		   
	    		</div>
	    		<div class="col-md-6">		
	    			<form action="AddSchool" method="post">
				    <table class="table">
				    	<caption><h1>添加大学</h1></caption>	       
				        <tr>
				            <td>你的大学:</td>
				            <td><input type="text" name="SchoolName" class="form-control"/></td>
				        </tr>
				        <tr>
				            <td colspan="2">
				                <input  type="submit" value="提交" class="btn btn-success"/>
				                <input  type="reset" value="清空" class="btn btn-warning"/>
				            </td>
				        </tr>
				    </table>
		   		</form>	
	    		</div>
	    	</div>
    	</div>
    </section>
  </div>

  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      	你想要的任何东西
    </div>
    <strong>&copy;软信一班MVC组  2017.12.13<a href="#">Company</a>.</strong>
  </footer>

  <aside class="control-sidebar control-sidebar-dark">
    <!-- Create the tabs -->
    <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
      <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
      <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
    </ul>
    <div class="tab-content">
      <div class="tab-pane active" id="control-sidebar-home-tab">
        <h3 class="control-sidebar-heading">最近的活动</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <i class="menu-icon fa fa-birthday-cake bg-red"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">LYQ的生日</h4>

                <p>1998.5.13</p>
              </div>
            </a>
          </li>
        </ul>

        <h3 class="control-sidebar-heading">任务进展</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <h4 class="control-sidebar-subheading">
                	自定义模板设计
                <span class="pull-right-container">
                    <span class="label label-danger pull-right">70%</span>
                  </span>
              </h4>

              <div class="progress progress-xxs">
                <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
              </div>
            </a>
          </li>
        </ul>

      </div>
      <div class="tab-pane" id="control-sidebar-stats-tab">数据选项卡内容</div>
      <div class="tab-pane" id="control-sidebar-settings-tab">
        <form method="post">
          <h3 class="control-sidebar-heading">一般设置</h3>

          <div class="form-group">
            <label class="control-sidebar-subheading">
              	报告面板的使用
              <input type="checkbox" class="pull-right" checked>
            </label>

            <p>
              	关于这个通用设置选项的一些信息
            </p>
          </div>
        </form>
      </div>
    </div>
  </aside>
  <div class="control-sidebar-bg"></div>
</div>
<script src="Backstage/bower_components/jquery/dist/jquery.min.js"></script>
<script src="Backstage/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="Backstage/dist/js/adminlte.min.js"></script>
</body>
</html>